package com.example.blog.service;

import com.example.blog.data.UpblogPram;
import com.example.blog.pojo.response.BlogInfoResponse;
import com.example.blog.pojo.resquest.AddBlogResqust;

import java.util.List;

public interface BlogService {
    List<BlogInfoResponse>  getlist();
    BlogInfoResponse getBlogDetail(Integer blogId);

    boolean addBlog(AddBlogResqust addBlogResqust);

    Boolean updateBlog(UpblogPram upblogPram);

    Boolean deteleBlog(Integer blogid);
}
